<?php

class NewsCategoryPeer extends BaseNewsCategoryPeer
{
	public static function getNewsCategoryDetail($news_category_id)
	{
		$a = DbFinder::from('NewsCategory')
				->with('I18n')
				->where('NewsCategory.Id',$news_category_id)
				->where('IsPublic',1)
				->find(1);
		return $a[0];
	}
}
